package top.gangster.lunan.userservice.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import top.gangster.lunan.userservice.entity.Department;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 公司所含部门信息 Mapper 接口
 * </p>
 *
 * @author vic
 * @since 2021-11-06
 */
public interface DepartmentMapper extends BaseMapper<Department> {
  IPage<Department> selectPageDepartmentList(Page<?> page);
  IPage<Department> selectPageDepartmentByName(Page<?> page,String deptName);

}
